package com.kaibes.module.email.sender;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

import lombok.Data;

@Data
public class MailContext {

    @Email(message = "邮箱格式不正确")
    private String email;
    @NotBlank(message = "标题不能为空")
    private String title;
    @NotBlank(message = "邮件内容不能为空")
    private String emailContent;
    
}
